import os

# 数据库配置
DB_NAME = './base_db.db'

# 下载配置
MAX_DOWNLOAD_THREADS = 5
DEFAULT_SAVE_PATH = os.getcwd()

# 状态常量
STATUS_PENDING = 'pending'
STATUS_DOWNLOADING = 'downloading'
STATUS_COMPLETED = 'completed'
STATUS_FAILED = 'failed'
STATUS_PAUSED = 'paused'
STATUS_READY = 'ready'

# 表名常量
TABLE_TASKS = 'ImageTasks'
TABLE_DOWNLOADS = 'ImageDownloads'